package edu.wayne.cs.csc4110.hw6.framework.gui.inbox;

import javax.swing.JFrame;

import edu.wayne.cs.csc4110.hw6.framework.Util.Constants;
import edu.wayne.cs.csc4110.hw6.interfaces.user.User;

public class PrivateChatFrame extends JFrame {

	private PrivateChatForm formPanel;

	public PrivateChatFrame(User user) {
		this.setTitle("Compose Message");
		this.setPreferredSize(Constants.PRIVATE_MESSAGES_PREFRERRED_SIZE);
		formPanel = new PrivateChatForm(user);
		this.getContentPane().add(formPanel);
		pack();
		setVisible(true);

	}
}
